package com.bugbuff.dubbo.server.api;

import com.bugbuff.dubbo.server.pojo.Comment;
import com.bugbuff.dubbo.server.pojo.Video;
import com.bugbuff.dubbo.server.vo.PageInfo;

import java.util.List;

public interface QueryInfoListApi {


    List<Video> queryVideoList(Integer pagesize, Integer page, String sortProp, String sortOrder, Long uid);


    Long queryLikeCount(String uid);

    PageInfo<Comment> queryCommentList(Integer pagesize, Integer page, String publishId);

    public PageInfo<Comment> queryCommentList(String publishId, Integer page, Integer pageSize);
    Integer userVideoCount(Long uid);

    Integer userCommentCount(String publishId);
}
